package com.jt.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jt.pojo.Result;
import com.jt.pojo.User;
import com.jt.vo.MenuAndRolesVo;
import org.apache.poi.ss.formula.functions.T;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.List;


public interface UserService extends IService<User> {

    User login(User user);

    List<MenuAndRolesVo> getRoleList(String id);

    void exportWps(HttpServletResponse response) throws IOException;

    void exportWps1(String id, HttpServletResponse response) throws IOException;

    Result getInfo(String token);
}
